/**   
 * Copyright © 2016 北京之洲科技有限责任公司. All rights reserved.
 * 
 * @Title: Business.java 
 * @Prject: carfactory
 * @Package: com.zizo.autohome.business.bean 
 * @Description: 
 * @author: Alexis  
 * @email heyan0227@outlook.com
 * @date: 2016年8月11日 上午11:23:24 
 * @version: V1.0   
 */
package com.zizo.autohome.business.bean;

import java.util.Map;

import com.zizo.core.T;

/**
 * @ClassName: Business
 * @Description:
 * @author: Alexis
 * @date: 2016年8月11日 上午11:23:24
 */
public class AutoHomeBusiness implements T {
	private int dealerId;// 经销商ID
	private String phone;// 经销商电话
	private String ministieName;// 经销商名称
	private String address;// 经销商地址
	private short hasAuth;// 是否认证，含有营业执照
	private String cityName;// 经销商所在城市的名称
	private double mapLonBaidu;// 纬度
	private double mapLatBaidu;// 经度
	private String mainBand;// 主营品牌
	private Map<Integer, Integer> cars;// 经销的品牌汽车ID，key=第二分类 value=第一分类（进口，国产）

	public int getDealerId() {
		return dealerId;
	}

	public void setDealerId(int dealerId) {
		this.dealerId = dealerId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMinistieName() {
		return ministieName;
	}

	public void setMinistieName(String ministieName) {
		this.ministieName = ministieName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public short getHasAuth() {
		return hasAuth;
	}

	public void setHasAuth(short hasAuth) {
		this.hasAuth = hasAuth;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public double getMapLonBaidu() {
		return mapLonBaidu;
	}

	public void setMapLonBaidu(double mapLonBaidu) {
		this.mapLonBaidu = mapLonBaidu;
	}

	public double getMapLatBaidu() {
		return mapLatBaidu;
	}

	public void setMapLatBaidu(double mapLatBaidu) {
		this.mapLatBaidu = mapLatBaidu;
	}

	public String getMainBand() {
		return mainBand;
	}

	public void setMainBand(String mainBand) {
		this.mainBand = mainBand;
	}

	public Map<Integer, Integer> getCars() {
		return cars;
	}

	public void setCars(Map<Integer, Integer> cars) {
		this.cars = cars;
	}

	public AutoHomeBusiness(int dealerId, String phone, String ministieName, String address, short hasAuth,
			String cityName, double mapLonBaidu, double mapLatBaidu, String mainBand, Map<Integer, Integer> cars) {
		super();
		this.dealerId = dealerId;
		this.phone = phone;
		this.ministieName = ministieName;
		this.address = address;
		this.hasAuth = hasAuth;
		this.cityName = cityName;
		this.mapLonBaidu = mapLonBaidu;
		this.mapLatBaidu = mapLatBaidu;
		this.mainBand = mainBand;
		this.cars = cars;
	}

	public String toString() {
		return this.dealerId + "\t" + this.phone + "\t" + this.ministieName + "\t" + this.address + "\t" + this.hasAuth
				+ "\t" + this.cityName + "\t" + this.mapLonBaidu + "\t" + this.mapLatBaidu + "\t" + this.mainBand;
	}
}
